﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ESoft.Job;

namespace SampleWeb2.Jobs
{

    [Cron(CronExpression = "*/2 * * * *")]
    public class TestJob2 : IJob
    {
        public Task Invoke()
        {

            Console.WriteLine("\t\tTestJob2：hello job" + DateTime.Now);
            return Task.CompletedTask;
        }
    }
}
